page {
  background-color: #f5f5f5;
}

.block {
  display: block;
  text-align: center;
  margin: 0.5rem 0;
  position: relative;
  // border: 1px solid black;
}

.tabbar {
  background-color: var(--bg-main);
  color: white;
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 1px 1px 10px #323232;

  .tabs {
    background-color: black;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tab {
    font-size: 0.8em;
    width: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    border-radius: 1rem;
  }

  .tab.selected {
    background-color: white;
    color: black;
  }
}

.bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7em;
  padding-bottom: 6rem;
  padding-top: 1rem;
}

.card {
  padding: 0.5rem 0.5rem 0 0.5rem;

  .card-container {
    border-radius: 1rem;
    background-color: white;

    .card-content {
      padding: 0.75rem;
      overflow: hidden;

      .cover {
        width: 100%;
        border-radius: 0.5rem;
        overflow: hidden;
      }

      .content {
        margin: 0.5rem 0;
        font-size: 0.7em;
        color: #666;
        // font-family: 'MPLUS';
        line-height: 0.8rem;
      }

      .header {
        margin-top: 0.5rem;
        // font-family: 'SmileySans-Oblique';
        font-size: 1em;
        // text-decoration: underline;
        // text-underline-offset: 4px;
      }
    }
  }
}


.video {
  padding: 0.5rem 0.5rem 0 0.5rem;

  .card-container {
    border-radius: 1rem;
    background-color: white;

    .card-content {
      padding-top: 0.5rem;
      overflow: hidden;
      display: flex;
      align-items: center;

      .cover {
        width: 8rem;
        margin-left: 0.5rem;
        border-radius: 0.5rem;
      }

      .info {
        padding: 0.5rem;
        width: calc(100% - 8rem);

        .content {
          font-size: 0.9em;
          color: var(--color-h2);
          // font-family: 'SmileySans-Oblique';
          line-height: 1.2rem;
        }

        .desc {
          font-size: 0.6em;
          color: var(--color-h3);
          // font-family: 'SmileySans-Oblique';
          line-height: 1.2rem;
        }

        .header {
          margin-bottom: 0.25rem;
          font-family: 'SmileySans-Oblique';
          font-size: 0.9em;
          text-decoration: unset;
          line-height: 1.2rem;
        }
      }

    }

    .card-content.header {
      padding: 0.5rem;
      font-size: 0.7em;
    }

    .detail {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 0.5rem 0.5rem 0.5rem;

      .hint {
        display: inline-flex;
        font-size: 0.7em;
        padding: 0.5rem;
        color: var(--color-h4);

        .dark {
          color: var(--color-h1);
        }
      }
    }
  }
}


.timeline {
  display: flex;
  flex-direction: row;
  padding: 0 0.5rem;
  position: relative;

  .line {
    position: absolute;
    height: 0.5rem;
    width: 0.5rem;
    background-color: white;
    top: 0.75rem;
    left: 4px;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
  }

  .content {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    padding-left: 0.75rem;
    border-left: 1px solid #e1e1e1;
    box-sizing: border-box;

    .time {
      display: block;
      align-items: center;
      color: var(--color-h2);
      font-size: 0.8em;
    }

    .tag {
      display: inline-block;
      margin: 0.25rem;
      padding: 0.25rem;
      border-radius: 0.25rem;
      font-size: 0.7em;
    }

    .chinese {
      border-radius: 1rem;
    }

    .title {
      display: flex;
      align-items: center;
      // font-size: 1.2em;
      font-family: 'SmileySans-Oblique';
      color: var(--color-h1);
    }

    .desc {
      margin-top: 0.5rem;
      font-size: 0.9em;
      color: var(--color-h2);
    }

    .prod {
      padding: 0.5rem;
      font-size: 0.8em;
      color: var(--color-h3);
      border-top: 1px solid var(--color-h3);
    }

    .detail {
      background-color: white;
      padding: 0.5rem;
      border-radius: 0.5rem;
      margin-bottom: 1rem;
      width: 100%;
      box-sizing: border-box;
    }

  }
}